﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SWDataDB.BLL;
using SWDataDB.DAL;
using SWDataDB.Models;
using System.Data;


public partial class YXPic : System.Web.UI.Page
{
    public string BBFILEID, BBCODE;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
             
            BBFILEID = Request["bfid"];
            BBCODE = Request["bbcd"];
            bind();
        }

    }
    private void bind()
    {

        //public DataSet GetPicNameWithSet(string zl_file_id,string zk_code,int hc)
        BBImageInfo ZKIMG = new BBImageInfo();
        DataSet ZKImgDS = ZKIMG.GetPicNameWithSet(BBFILEID, BBCODE);
        DataTable zkimgdt = ZKImgDS.Tables[0];
        DataView zkimgdv = zkimgdt.DefaultView;
        repeater_ZKImg.DataSource = zkimgdv;
        repeater_ZKImg.DataBind();
    }
}